package com.zhupanlin.dao;

import com.zhupanlin.entity.Role;
import com.zhupanlin.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/12/15 14:55
 */
@Mapper
public interface UserDao {

    User loadUserByUsername(String username);

    List<Role> getRolesByUid(Integer uid);

}
